home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mig / dist / global.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-29  |  3.2 KB  |  117 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1991,1990 Carnegie Mellon University
  4.  * All Rights Reserved.
  5.  * 
  6.  * Permission to use, copy, modify and distribute this software and its
  7.  * documentation is hereby granted, provided that both the copyright
  8.  * notice and this permission notice appear in all copies of the
  9.  * software, derivative works or modified versions, and any portions
  10.  * thereof, and that both notices appear in supporting documentation.
  11.  * 
  12.  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS 
  13.  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  14.  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  15.  * 
  16.  * Carnegie Mellon requests users of this software to return to
  17.  * 
  18.  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  19.  *  School of Computer Science
  20.  *  Carnegie Mellon University
  21.  *  Pittsburgh PA 15213-3890
  22.  * 
  23.  * any improvements or extensions that they make and grant Carnegie the
  24.  * rights to redistribute these changes.
  25.  */
  26. /*
  27.  * HISTORY
  28.  * $Log:    global.h,v $
  29.  * Revision 2.7  91/08/28  11:16:56  jsb
  30.  *     Replaced ServerProcName with ServerDemux.
  31.  *     [91/08/13            rpd]
  32.  * 
  33.  *     Removed Camelot and TrapRoutine support.
  34.  *     Changed MsgKind to MsgSeqno.
  35.  *     [91/08/12            rpd]
  36.  * 
  37.  * Revision 2.6  91/06/26  14:39:32  rpd
  38.  *     Removed InitRoutineName.
  39.  *     [91/06/26            rpd]
  40.  * 
  41.  * Revision 2.5  91/06/25  10:31:12  rpd
  42.  *     Added ServerHeaderFileName.
  43.  *     [91/05/22            rpd]
  44.  * 
  45.  * Revision 2.4  91/02/05  17:54:29  mrt
  46.  *     Changed to new Mach copyright
  47.  *     [91/02/01  17:54:12  mrt]
  48.  * 
  49.  * Revision 2.3  90/06/19  23:00:54  rpd
  50.  *     Added UserFilePrefix.
  51.  *     [90/06/03            rpd]
  52.  * 
  53.  * Revision 2.2  90/06/02  15:04:42  rpd
  54.  *     Created for new IPC.
  55.  *     [90/03/26  21:10:53  rpd]
  56.  * 
  57.  * 07-Apr-89  Richard Draves (rpd) at Carnegie-Mellon University
  58.  *    Extensive revamping.  Added polymorphic arguments.
  59.  *    Allow multiple variable-sized inline arguments in messages.
  60.  *
  61.  * 17-Sep-87  Bennet Yee (bsy) at Carnegie-Mellon University
  62.  *    Added GenSymTab
  63.  *
  64.  * 16-Aug-87  Mary Thompson (mrt) at Carnegie-Mellon University
  65.  *    Added CamelotPrefix
  66.  *
  67.  * 28-May-87  Richard Draves (rpd) at Carnegie-Mellon University
  68.  *    Created.
  69.  */
  70.  
  71. #ifndef    _GLOBAL_H
  72. #define    _GLOBAL_H
  73.  
  74. #define    EXPORT_BOOLEAN
  75. #include <mach/boolean.h>
  76. #include <sys/types.h>
  77. #include "string.h"
  78.  
  79. extern boolean_t BeQuiet;    /* no warning messages */
  80. extern boolean_t BeVerbose;    /* summarize types, routines */
  81. extern boolean_t UseMsgRPC;
  82. extern boolean_t GenSymTab;
  83.  
  84. extern boolean_t IsKernelUser;
  85. extern boolean_t IsKernelServer;
  86.  
  87. extern string_t RCSId;
  88.  
  89. extern string_t SubsystemName;
  90. extern u_int SubsystemBase;
  91.  
  92. extern string_t MsgOption;
  93. extern string_t WaitTime;
  94. extern string_t ErrorProc;
  95. extern string_t ServerPrefix;
  96. extern string_t UserPrefix;
  97. extern string_t ServerDemux;
  98.  
  99. extern int yylineno;
  100. extern string_t yyinname;
  101.  
  102. extern void init_global();
  103.  
  104. extern string_t UserFilePrefix;
  105. extern string_t UserHeaderFileName;
  106. extern string_t ServerHeaderFileName;
  107. extern string_t InternalHeaderFileName;
  108. extern string_t UserFileName;
  109. extern string_t ServerFileName;
  110.  
  111. extern void more_global();
  112.  
  113. extern char NewCDecl[];
  114. extern char LintLib[];
  115.  
  116. #endif    _GLOBAL_H
  117.